Skip to content

Fix error check on X509V3_EXT_print()#21047

Open
ndossche wants to merge 1 commit intophp:PHP-8.4from
ndossche:clesss-25
Open

Fix error check on X509V3_EXT_print()#21047
ndossche wants to merge 1 commit intophp:PHP-8.4from
ndossche:clesss-25

Conversation

@ndossche
Copy link
Member

The docs I found of this function appear to be wrong, as it can also return -1 on failure.
See also openssl/openssl#29793

This was found by a hybrid static-dynamic analyser that looks for inconsistent handling of error checks in bindings.

The docs I found of this function appear to be wrong, as it can also
return -1 on failure.
See also openssl/openssl#29793
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant